#include <memory>
#include<iostream>

using namespace std;

struct Data {
    int a = 0;
    int b = 0;
};


class CA {
    int _num = 0;
    float _percent = 0;
};

class CA_POXY {
public:
    int num = 0;
    float percent = 0;
};


int main(int argc, char *argv[]) {
    CA ca;
    CA_POXY poxy;
    cout << ( (CA_POXY*)&ca )->num << "," << ( (CA_POXY*)&ca )->percent << endl;

    ( (CA_POXY*)&ca )->num = 20;
    ( (CA_POXY*)&ca )->percent = 3.456;

    cout << ( (CA_POXY*)&ca )->num << "," << ( (CA_POXY*)&ca )->percent << endl;

    cin.get();

    return 0;
}